'use strict';
module.exports = {
  createBlogRequest: {
    name: { type: 'string', required: true, description: '标题', example: '前端开发常见问题汇总' },
    describe: { type: 'string', required: true, description: '描述', example: '文章描述' },
    coverUrl: { type: 'string', required: true, description: '封面图片' },
    content: { type: 'string', required: true, description: '文章内容' },
    typeTags: { type: 'array', itemType: 'string', required: true, description: '文章所属类型', example: [ 'javascript', 'react' ] },
    author: { type: 'string', required: true, description: '作者' },
  },
};
